﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Extend/EMasterDetail.Master" AutoEventWireup="true" CodeBehind="eMasterDetail.aspx.cs" Inherits="ZX.WebApp.Extend.eMasterDetail" %>
<asp:Content ContentPlaceHolderID="FormTemplate"  ID="eFormTemplate"  runat="server"><asp:Literal ID="FormTemplate" runat="server"></asp:Literal></asp:Content>
<asp:Content ContentPlaceHolderID="InitConstDataPlace" ID="eInitConstDataPlace" runat="server">
<script type="text/javascript" language="javascript">
    var const_entityID = "<% =EntityId %>",    //实体ID名称
        const_entityName = "<% =SubEntityName %>",//实体名称
        const_EditEntity = "<% =EditEntity %>",//编辑实体名
        const_functionId   ="<% =FunctionID %>",//自定义条件
        //const_Order ="< =Order >",           //排序  
        const_DataFields = [<%=DataFields %>],
        const_DataColums = [<%=DataColums %>],
        //const_DataColums = ['GoodsID','iSun_Selected','EmpID','GoodsName','Total','iSun_IsNew'],
        const_UserId = "<% = UserId %>",   
        //const_BlankInstance = [{"GoodsID":"00000000-0000-0000-0000-000000000000","EmpID":"00000000-0000-0000-0000-000000000000","GoodsName":null,"Total":0,"iSun_Selected":false,"iSun_IsNew":true}],
        const_BlankInstance = [<% =BlankInstance %>],  //
        initialRequestUrl = "entity=" + const_entityName + "&r="+Math.random();
</script>
</asp:Content>